package com.wangce.bean;

/**
 * ClassName: Detail
 * Description:
 * date: 2021/11/15 10:10
 *
 * @author 凡人
 * @since JDK 1.8
 */
public class Detail {
    private Integer id;//主键
    private String coding;//商品编号
    private String goodsname;//商品名
    private String size;//规格
    private String unit;//单位
    private Double price;//单价
    private Integer num;//数量

    @Override
    public String toString() {
        return "Detail{" +
                "id=" + id +
                ", coding='" + coding + '\'' +
                ", goodsname='" + goodsname + '\'' +
                ", size='" + size + '\'' +
                ", unit='" + unit + '\'' +
                ", price=" + price +
                ", num=" + num +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCoding() {
        return coding;
    }

    public void setCoding(String coding) {
        this.coding = coding;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Detail() {
    }

    public Detail(Integer id, String coding, String goodsname, String size, String unit, Double price, Integer num) {
        this.id = id;
        this.coding = coding;
        this.goodsname = goodsname;
        this.size = size;
        this.unit = unit;
        this.price = price;
        this.num = num;
    }
}
